package com.sz.biz.common.customer.service;

import com.sz.biz.common.customer.dto.CustomerMessageRelTypeItem;

/**
 * Function: TODO: ADD FUNCTION <br>
 * Author: Johnboy <br>
 * Date: 2017-08-10 17:09:00
 */
public interface CustomerMessageRelTypeService {
   CustomerMessageRelTypeItem getMessageRelTypeTree(Boolean isTree,String localLanguage);

   CustomerMessageRelTypeItem getCustomerMessageRelTypeTree(int customerId);

   /**
    * 检查子节点与父节点是否存在父子关系
    * @param parentId  父节点
    * @param refIds    子节点
    * @return
    */
   boolean  checkParentIdContainRefIds(int parentId,int refIds);
}
